﻿<%@ Page Title="" Language="C#" MasterPageFile="~/admin/admin.master" AutoEventWireup="true" CodeFile="Report.aspx.cs" Inherits="admin_Report" %>

<%@ Register assembly="CrystalDecisions.Web, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304" namespace="CrystalDecisions.Web" tagprefix="CR" %>

<asp:Content ID="Content1" ContentPlaceHolderID="contenido" Runat="Server">
    <form id="form1" runat="server">
    <table width="100%" align="center">
    <tr>
        <td>
            <img src="images/energy.jpg" / width="150">
        </td>
        <td align="center">
            <table>
            <tr>
                <td>Start Date:</td>
                <td>
                    <asp:TextBox ID="tb_startdate" runat="server"></asp:TextBox>
                </td>
                <td>End Date:</td>
                <td>
                    <asp:TextBox ID="tb_enddate" runat="server"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td>Agent Name:</td>
                <td>
                    <asp:DropDownList ID="lb_agent" runat="server">
                    </asp:DropDownList>
                </td>
                <td>Report Type:</td>
                <td>
                    <asp:DropDownList ID="lb_report_type" runat="server">
                        <asp:ListItem>Agent</asp:ListItem>
                        <asp:ListItem>Day</asp:ListItem>
                    </asp:DropDownList>
                </td>
            </tr>
            <tr>
                <td>Type of Sale</td>
                <td>
                    <asp:DropDownList ID="lb_typeofsale" runat="server">
                        <asp:ListItem>APPROVED</asp:ListItem>
                        <asp:ListItem>NOT APPROVED</asp:ListItem>
                    </asp:DropDownList>
                </td>
                <td colspan="2" align="center"> 
                    <asp:CheckBox ID="chk_summary" runat="server" Text="Summary" />
                </td>
                
            </tr>
            <tr>
            <td colspan="4" align="center">
                    <asp:Button ID="bt_search" runat="server" Text="Search" 
                        onclick="bt_search_Click" />
                </td>
            </tr>
            </table>
        </td>
        
    </tr>

    <tr>
        <td colspan="2">
            
            <CR:CrystalReportViewer ID="CrystalReportViewer1" runat="server" 
                AutoDataBind="true" oninit="CrystalReportViewer1_Init" />
        </td>
    </tr>
    </table>
    </form>
    </asp:Content>

